﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Entity.Car_Rental.Area>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Create
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <% using (Html.BeginForm())
       {%>
    <%: Html.ValidationSummary(true) %>
    <fieldset>
        <legend>添加区域</legend>
        <%:Html.Hidden("ParentID",Request.QueryString["pid"])%>
        <div class="editor-label">
            区域名称：（同时添加多个区域时，请用逗号分开）
        </div>
        <div class="editor-field">
            <%: Html.TextBoxFor(model => model.Name, new {style="width:300px" })%>
            <%: Html.ValidationMessageFor(model => model.Name) %>
        </div>
        <p>
            <input type="submit" value="提交" />
        </p>
    </fieldset>
    <% } %>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ScriptContent" runat="server">
</asp:Content>
